package attendance_manager;

import java.io.Serializable;

public class Subject implements Serializable
{
	private static final long serialVersionUID = 1L;
	
	private String subjectId;
	private String professorName;
	private String lectureRoom;
	private String lectureTime;
	private int registerMaxNumber;
	private int currentRegisterNumber;
	
	public Subject() 
	{
		super();
	}
	public Subject(String subjectId, String professorName, String lectureRoom, String lectureTime, int registerMaxNumber, int currentRegisterNumber)
	{
		super();
		this.subjectId = subjectId;
		this.professorName = professorName;
		this.lectureRoom = lectureRoom;
		this.lectureTime = lectureTime;
		this.registerMaxNumber = registerMaxNumber;
		this.currentRegisterNumber = currentRegisterNumber;
	}
	public String getSubjectId()
	{
		return subjectId;
	}
	public void setSubjectId(String subjectId) 
	{
		this.subjectId = subjectId;
	}
	public String getProfessorName() 
	{
		return professorName;
	}
	public void setProfessorName(String professorName) 
	{
		this.professorName = professorName;
	}
	public String getLectureRoom() 
	{
		return lectureRoom;
	}
	public void setLectureRoom(String lectureRoom) 
	{
		this.lectureRoom = lectureRoom;
	}
	public String getLectureTime() 
	{
		return lectureTime;
	}
	public void setLectureTime(String lectureTime) 
	{
		this.lectureTime = lectureTime;
	}
	public int getRegisterMaxNumber() 
	{
		return registerMaxNumber;
	}
	public void setRegisterMaxNumber(int registerMaxNumber) 
	{
		this.registerMaxNumber = registerMaxNumber;
	}
	public int getCurrentRegisterNumber() 
	{
		return currentRegisterNumber;
	}
	public void setCurrentRegisterNumber(int currentRegisterNumber) 
	{
		this.currentRegisterNumber = currentRegisterNumber;
	}
	public static long getSerialversionuid()
	{
		return serialVersionUID;
	}
	@Override
	public String toString() 
	{
		return "Subject [subjectId=" + subjectId + ", professorName="
				+ professorName + ", lectureRoom=" + lectureRoom
				+ ", lectureTime=" + lectureTime + ", registerMaxNumber="
				+ registerMaxNumber + ", currentRegisterNumber="
				+ currentRegisterNumber + "]";
	}
	
	
	
}
